<#include "../public/header.html">
<form method="post" id="pwdForm" name="pwdForm">
    <div id="editdlg">
    </div>
    <div class="easyui-layout" style="width:100%;height:100%;">

        <div data-options="region:'center'" title="">
            <div id="tb" style="padding:5px 5px; border-bottom: dashed #d2d2d2 1px;margin-bottom: 5px;">
                帐户: <input class="easyui-textbox" style="width:110px" id="username" value="${(user_name)!}" name="username" disabled="disabled">
                原密码: <input class="easyui-textbox" style="width:110px" id="userpwd" name="userpwd">
                新密码: <input class="easyui-textbox" style="width:110px" id="usernpwd" name="usernpwd">
                确认密码: <input class="easyui-textbox" style="width:110px" id="userntpwd" name="userntpwd">
                <!--  a href="javascript://" class="easyui-linkbutton" iconCls="icon-ok" onclick="btn_pwd()">确定</a -->
            </div>
        
        </div>
    </div>
    </form>


    <script type="text/javascript">
       
       function btn_pwd(){
           $('#pwdForm').form('submit',{
                url:"admin/pwd/change",
                success:function(data){
                    var data = eval('(' + data + ')');  // change the JSON string to javascript object
                    alert(data.msg);
                }
            });
        }
       
       
    </script>
    <#include "../public/footer.html">